package mapper_k;

import org.apache.ibatis.annotations.Param;
import pojo_k.HomeUser;
import pojo_k.HomeUserIncome;
import pojo_k.HomeUserPayout;

public interface HomeUserMapper {
    //家庭成员登录
    HomeUser select(@Param("homeuserName") String homeuserName,@Param("homeuserPassword") String homeuserPassword);

    //家庭成员注册
    void add(HomeUser homeUser);

    //根据用户名查询
    HomeUser selectByName(String homeuserName);

    //用户收入记账
    void addIncome(HomeUserIncome homeUserIncome);

    //用户取款记账
    void addPayout(HomeUserPayout homeUserPayout);


}
